import { http } from "@/utils/http";
import type { UserVo } from "@/type";

interface UserReq {
  getBloggerInfo: () => Promise<UserVo>;
}

export const userApi: UserReq = {
  getBloggerInfo: () => {
    return http.get<UserVo>("/user/getBloggerInfo");
  },
};
